<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <script src="../build/qc.js"></script>
    <script src="js/test3.js"></script>
</head>
<body>
 <div q-view="model">
     <span q-text="{list.length}"></span>
     <ul q-each="list">
         <li q-text="{name}"></li>
     </ul>
     <button q-click="zzz">xxxx</button>
 </div>
</body>
</html>
<script>
  qc.view("model",function (vm,ve) {
      vm.list=[];
      ve.zzz=function () {
          vm.$set("list",[{name:"eee"}])
      }
  })
</script>